# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit git autotools

DESCRIPTION="librdfa is a pure C implementation of a standards-compliant RDFa
parser."
HOMEPAGE="http://rdfa.digitalbazaar.com/librdfa/"
EGIT_REPO_URI="http://rdfa.digitalbazaar.com/librdfa.git"
EGIT_BOOTSTRAP="eautoreconf"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc"

DEPEND=""
RDEPEND=""

src_compile() {
	econf $(use_enable doc docs) || die "configure failed."
	cd c
	make || die "emake failed"

}

src_install() {
	cd c
	dolib dist/*	
	insinto /usr/include
	doins rdfa*.h
}
